@echo off
:a
start /B python robot.py
ping 123.45.67.89 -n 1 -w 30000
taskkill /f /im python.exe
goto :a